projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77b506e
)
wayland: Stop key repeat on focus out
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 31 Aug 2015 15:04:10 +0000
(11:04 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 31 Aug 2015 15:07:00 +0000
(11:07 -0400)
This should address the occasional 'key repeat gone wild' issue
that some people have been seeing in gnome-terminal under Wayland.
http://bugzilla.gnome.org/show_bug.cgi?id=747684
gdk/wayland/gdkdevice-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdevice-wayland.c
b/gdk/wayland/gdkdevice-wayland.c
index 5201d7d313099350d9b7368d5779c412d44fd2bd..4e8f98f2bf111ea90ce6e7de0ed12f8950f73df9 100644
(file)
--- a/
gdk/wayland/gdkdevice-wayland.c
+++ b/
gdk/wayland/gdkdevice-wayland.c
@@
-1184,6
+1184,8
@@
keyboard_handle_leave (void *data,
if (!device->keyboard_focus)
return;
+ stop_key_repeat (device);
+
_gdk_wayland_display_update_serial (display, serial);
event = gdk_event_new (GDK_FOCUS_CHANGE);